package com.sl.biz.modular.process.dao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sl.biz.modular.process.dao.domain.dto.ProcessVersionDTO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessVersionDO;

import java.util.List;

public interface ProcessVersionDaoService extends IService<ProcessVersionDO> {
    List<ProcessVersionDTO> queryList(ProcessVersionDO processVersionDO);

    Boolean setStatusFlag(ProcessVersionDO assertUserUse);

    Boolean setLatestFlag(ProcessVersionDO assertUserUse);

    ProcessVersionDO queryByProcessIdAndVersion(String processId, String processVersion);

    Boolean removeByProcessIdAndVersion(String processId, String processVersion);
}
